package com.flower.enjoyment.flower.entityDo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "赠送详情")
public class PresentDetailDo {
    private String id;
    @ApiModelProperty(value = "项目")
    private String serviceName;
    @ApiModelProperty(value = "金额")
    private Double amount;
    @ApiModelProperty(value = "时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    private String userId;

    private String cardId;

    private Double balance;
}